package cn.zymall.goods.service.impl;

import cn.zymall.common.model.SpuDetailImg;
import cn.zymall.common.model.SpuImg;
import cn.zymall.goods.mapper.SpuImgMapper;
import cn.zymall.goods.service.SpuImgService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lxh
 * @Description 商品图片业务层实现类
 * @date 2020/8/22 23:17
 * @Classname SpuDetailServiceImpl
 **/
@Service
public class SpuImgServiceImpl extends ServiceImpl<SpuImgMapper,SpuImg> implements SpuImgService {

	@Autowired
	private SpuImgMapper spuImgMapper;

	@Override
	public void add(SpuImg spuImg) {
		spuImgMapper.add(spuImg);
	}

	@Override
	public void amend(SpuImg spuImg) {
		spuImgMapper.amend(spuImg);
	}


}
